Libraries

Analysis of Player’s Performance for the last 5 games (Dynamic)

  This section pulls the Moneypuck shot data
  Pull relevant columns (8) out of potential 68 columns
  Creates a tot_score field for each player (shot = 1.5 pts, goal = 8.5 pts) and sums it up
  Then moves fielsd around for ease of view
  Groups data by game_id and shooter_name
  Finally, it summarises the last 5 game records for each player along with their tot_pts
  Then is creates a sliced view last 2 through 6 object to capture the moving game data
  Next it joins the 5 day view summaries with the moving 2 through object to create a current and past view.
  Finally, it creates a dynamic indicator of who it hot or not
  

Which Players Are Hot

Generate a heatmap of hot players

Write a csv and xlsx file to the Monepuck Directory